package com.bustamanteortega.diagnosticopds;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;

public class Principal extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_principal);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_principal, menu);
        return true;
    }
    
    public void irInformacionPersonal(View v){
    	Intent myIntent = new Intent(Principal.this, InformacionActivity.class);
    	Principal.this.startActivity(myIntent);
    }
    
    public void irResponderEncuesta(View v){
    	Intent myIntent = new Intent(Principal.this, SeleccionarEncuestaActivity.class);
    	Principal.this.startActivity(myIntent);
    }
    
    public void irVerDiagnosticos(View v){
    	Intent myIntent = new Intent(Principal.this, VerDiagnosticosActivity.class);
    	Principal.this.startActivity(myIntent);
    }
}
